<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>(zwebtemplate)</title>
</head>
<body onload="onChangeBookShelf();">
<table width="100%" border="0">
	<tr>
		<td>书籍管理 &gt;&gt;&gt;</td>
		<td align="right"><a href="/book_add.zweb?page_size=20&page_no=1">书籍列表</a> |
			<a href="/book_add.zweb?page_size=$$(PAGE_SIZE)&page_no=$$(PAGE_NO)">添加书籍</a></td>
	</tr>
</table>
<br />
<form>
	<table border="1" align="center">
		<tr>
			<td colspan="4"><div align="center"><strong>书籍信息</strong></div></td>
		</tr>
		<tr>
			<td><div align="right">书籍分类：</div></td>
			<td colspan="3">$$(BOOK_CLASS)</td>
		</tr>
		<tr>
			<td><div align="right">书名：</div></td>
			<td colspan="3">《$$(BOOK_TITLE)》</td>
		</tr>
		<tr>
			<td><div align="right">作者：</div></td>
			<td>$$(BOOK_AUTHOR)</td>
			<td><div align="right">出版社：</div></td>
			<td>$$(BOOK_PUBLISHER)</td>
		</tr>
		<tr>
			<td><div align="right">版次：</div></td>
			<td>$$(BOOK_EDITION)</td>
			<td><div align="right">价格：</div></td>
			<td>$$(BOOK_PRICE:%.2f) 元 </td>
		</tr>
		<tr>
			<td><div align="right">书架：</div></td>
			<td>$$(BOOK_SHELF)</td>
			<td><div align="right">书架层：</div></td>
			<td>$$(BOOK_SHELF_LAYER)</td>
		</tr>
		<tr>
			<td><div align="right">标签备注：</div></td>
			<td colspan="3">$$(LABEL_REMARK)</td>
		</tr>
		<tr>
			<td colspan="4"><div align="right">
				<input name="hiddenPageSize" type="hidden" id="hiddenPageSize" value="$$(PAGE_SIZE)"  />
				<input name="hiddenPageNo" type="hidden" id="hiddenPageNo" value="$$(PAGE_NO)"  />			
				<input type="button" name="buttonReturnList" id="buttonReturnList" value="   返回列表   " onClick="document.location.href='/book_list.zweb?page_size=$$(PAGE_SIZE)&page_no=$$(PAGE_NO)';" />
				<input type="button" name="buttonModifyBook" id="buttonModifyBook" value="   修改   " onClick="document.location.href='/book_modify.zweb?book_id=$$(BOOK_ID)&page_size=$$(PAGE_SIZE)&page_no=$$(PAGE_NO)';" />
				<input type="button" name="buttonRemoveBook" id="buttonRemoveBook" value="   删除   " onClick="confirmDelete('/book_removing.zweb?book_id=$$(BOOK_ID)&page_size=$$(PAGE_SIZE)&page_no=$$(PAGE_NO)');"/>			
			</div></td>
		</tr>
	</table>
</form>
<script language="javascript">
	function confirmDelete( uri ) {
		if( confirm('确认删除该书籍信息？') ) {
			PostAhref( uri , null );
		}
	}
	function PostAhref( uri , target ) {
		var myForm = document.createElement( 'form' ) ;
		myForm.method = 'post' ;
		myForm.action = uri ;
		if( target != null )
			myForm.target = target ;
		document.body.appendChild( myForm );
		myForm.submit();
		document.body.removeChild( myForm );
	}
</script>
</body>
</html>
